Repository navigation
feat(bridge): Elysium routes for USDC - #131
Closed
Vasanthdev2004 wants to merge 3 commits into
Closed
Vasanthdev2004 wants to merge 3 commits into
Vasanthdev2004 wants to merge 3 commits into
Conversation
Elysium (99901) is now a bridge network like the other launch chains. Its USDC moves through Relay from every other network and to every launch chain. HYPE, its gas token, is not carried. - Registry: Elysium USDC 0xb47c...0B65 (symbol USDC, 6 decimals, checked on-chain) both ways. A chain's default asset is now its first bridge asset, so Elysium defaults to USDC and every other chain keeps its gas token. - Chain check: Relay lists HYPE as not bridgeable. For Elysium alone, the check requires Relay to list exactly this USDC as bridgeable instead. Every other chain still needs its native currency listed as bridgeable, and the quote checks are unchanged, with gas paid in HYPE when sending from Elysium. - Dialog: Elysium's mark, an ELYS board code (new L and Y glyphs), and a route notice that HYPE is not bridged and is needed on Elysium for gas. The /bridge page lists Elysium. - Bridge, then buy: reads HYPE on Elysium and suggests Elysium USDC as a source only beside some. A buy paid in HYPE gets no bridge offer. - Tests cover the registry, Relay's Elysium listing and each way it can be wrong, every Elysium route, HYPE refunds and outputs (refused), HYPE gas, approvals, history, links, the board and the source rule. The opt-in live test quotes all sixteen Elysium routes through the server validator.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
Keep Enter on the quote path and require an explicit wallet action. Bundle both network marks, show the HYPE gas requirement beside USDC, and give users a direct link to their transfer history.
Collaborator
Author
|
Closed in favour of #135, which holds the whole bridge update in one PR. The commits from this PR are in it unchanged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 6 of the bridge update. Stacked on #130 (Circle CCTP); the base branch retargets as the lower PRs merge.
The whole stack (#118 to #130) was merged with main first, so it now carries Elysium (chain 99901). Those merges were clean, with no force pushes.
What it does
Elysium is now a bridge network like Base, Robinhood and Arc. USDC moves through Relay from every other network into Elysium, and from Elysium to every launch chain. HYPE, Elysium's gas token, is not carried.
0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65.ELYScode on the signal board (new L and Y glyphs, HYPE's mint colour).NEXT_PUBLIC_LAUNCH_FACTORY_ELYSIUMis set, so funds can be moved there before its first launch.Live cost, 2026-11-10 (read-only, 25 USDC or USDG, or 0.01 ETH)
All sixteen Elysium routes passed the server validator.
Changes
lib/bridge/types.ts:ELYSIUM_USDC.defaultBridgeAssetreturns the chain's first bridge asset, so nothing changes for the other chains.bridgesNativeCurrencyandbridgeTokens.validation.ts: the Elysium chain check; gas check typed as the native symbol.chains.ts: the wallet chain is the launchpad's ownCHAINS.elysium.signal.ts:ELYS, the L and Y glyphs, and a colour.fund.ts:cctp-server.ts: a 99901 entry (no Circle route).BridgeDialog: Elysium's mark and route notice./bridgepage: Elysium in the copy and lists./ui-review-bridge: an Elysium history row and an Elysium bridge-then-buy scene.docs/bridge.md: "Elysium (2026-11-10)".Not built
Verification
RUN_BRIDGE_LIVE_TESTS=1): all sixteen Elysium routes quote and pass.tscand eslint are clean./ui-review-bridgeand/bridge?from=elysium&to=baseon desktop and at phone width, with no horizontal overflow.